package com.liyang.springcloud.dao;

import com.liyang.springcloud.common.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description: 支付数据层
 * @author: liyang
 * @date: 2023/12/19 18:07
 **/
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    /**
     * @description: id 查询详情
     * @author: liyang
     * @date: 2023/12/19 19:51
     * @param: id Payment
     **/
    Payment selectById(@Param("id") Long id);

}
